<!DOCTYPE html>
<html>
    <head>
        <title>Mesh Debugger &mdash; Pathfinder</title>
        <meta charset="utf-8">
        {{>partials/header.html}}
        <script type="text/javascript" src="/js/pathfinder/mesh-debugger.js"></script>
    </head>
    <body class="pf-unscrollable">
        {{>partials/navbar.html isTool=true}}
        <canvas id="pf-canvas" width="400" height="300"></canvas>
        <svg id="pf-svg" xmlns="http://www.w3.org/2000/svg" width="400" height="300"></svg>
        <div class="fixed-bottom mb-3 d-flex justify-content-end align-items-end pf-pointer-events-none">
            <div id="pf-toolbar">
                <button id="pf-open-button" type="button"
                class="btn btn-outline-secondary pf-toolbar-button">
                    Open…
                </button>
            </div>
        </div>
        <div class="modal fade" id="pf-open-modal" tabindex="-1" role="dialog"
         aria-labelledby="pf-open-label" aria-hidden="true">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="pf-open-label">Open…</h5>
                        <button type="button" class="close" data-dismiss="modal"
                         aria-label="Close">
                            <span aria-hidden="true">&times;</span>
                        </button>
                    </div>
                    <div class="modal-body">
                        <form>
                            <div class="form-group">
                                <label for="pf-open-file-label">File</label>
                                <select id="pf-open-file-select"
                                 class="form-control custom-select">
                                    <option value="font-eb-garamond" selected>
                                        Font: EB Garamond
                                    </option>
                                    <option value="font-open-sans">Font: Open Sans</option>
                                    <option value="font-nimbus-sans">Font: Nimbus Sans</option>
                                    <option value="font-inter-ui">Font: Inter UI</option>
                                    <option value="svg-tiger">SVG: Ghostscript Tiger</option>
                                    <option value="svg-custom">SVG: Custom…</option>
                                </select>
                                <input id="pf-file-select" type="file">
                            </div>
                            <div class="form-group" id="pf-font-path-select-group">
                                <label for="pf-font-path-label">Path</label>
                                <select id="pf-font-path-select"
                                 class="form-control custom-select">
                                    <option value="65" selected>A</option>
                                    <option value="66">B</option>
                                    <option value="67">C</option>
                                </select>
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-secondary"
                         data-dismiss="modal">Cancel</button>
                        <button type="button"
                         class="btn btn-primary" id="pf-open-ok-button">Open</button>
                    </div>
                </div>
            </div>
        </div>
        {{>partials/spinner.html}}
    </body>
</html>
